<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>博客编辑</title>
  <link rel="stylesheet" href="css/common.css">
    <link rel="stylesheet" href="css/bolg_edit.css">

<!--引起md依赖-->
    <link rel="stylesheet" href="editor.md/css/editormd.min.css" />
<!--    <script src="js/jquery.min.js"></script>-->
<!--百度 jquery cdn-->
    <script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
    <script src="editor.md/lib/marked.min.js"></script>
    <script src="editor.md/lib/prettify.min.js"></script>
    <script src="editor.md/editormd.js"></script>

</head>
<body>
<div class="nav">
  <img src="img/1000.webp" alt="">
  <span class="title">我的博客系统</span>
  <div class="spacer" ></div>
  <a href="blog_list.html">主页</a>
  <a href="bolg_edit.html">写博客</a>
  <a href="#">注销</a>
</div>
<!--整个编辑页的版心-->
<div class="blog-edit-container">
<!--标题的编辑区-->
  <div class="title">
<!--输入的标题内容-->
    <input type="text" id="blog-title" placeholder="在这里输入博客标题">
    <button id="submit">发布文章</button>
  </div>
<!--正文的编辑区-->
  <div id="editor">

  </div>
</div>

<script>
    var editor = editormd("editor",{
        width:"100%",
        height:"calc(100% - 50px)",
        markdown:"# hello world",
        path:"editor.md/lib/"
    });
</script>
</body>
</html>